package com.langxin.erp.model;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;

/**
 * 用户
 * @author guqj
 *
 */
public class UserInfo extends BaseInfo {

	private static final long serialVersionUID = 7340212528660357759L;
	@NotBlank(message= "用户名不能为空")
	private String name;
	private String nickName;
	@NotBlank(message= "密码不能为空")
	private String password;
	// 登录时间
	private Date   loginAt;
	
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getLoginAt() {
		return loginAt;
	}
	public void setLoginAt(Date loginAt) {
		this.loginAt = loginAt;
	}
	

}
